<?php
namespace app\api\validate;
use think\Validate;

class Card extends Validate{
	public $message=[
    	'name.require'=>'请输入姓名',
    	'card.require'=>'请输入身份证号',
    	'code.require'=>'请上传验证码',
    	'code.length'=>'验证码长度不正确',
    ];
    
   	public $rule=[
	   	'name'=>'require',
	   	'card'=>'require'
   	];
   	
    public $scene=[
    	'bindCard'=>['name','card'],
    ]; 
    
}
?>